package com.mes.utils;

import java.util.List;

/**
 * @ClassName:EasyUIResult
 * @Description:easyuigrid 返回结果
 * @Author cb
 * @Date 2018年3月14日下午4:14:53
 * @version 1.0
 */
public class EasyUIResult {

	private Integer total;

	private List<?> rows;

	public EasyUIResult(Integer total, List<?> rows) {
		this.total = total;
		this.rows = rows;
	}

	public EasyUIResult(long total, List<?> rows) {
		this.total = (int) total;
		this.rows = rows;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

}
